package com.example.elderlycare.controller.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

public class RetardRecordRequestBody {

    @Data
    public static class addRetardRecord {
        private Integer checkRecordId;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM+8")
        private Date retardDate;
        private String reason;
        private Float evaluation;
    }

    @Data
    public static class updateRetardRecord {
        private Integer id;
        private Integer elderId;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM+8")
        private Date retardDate;
        private String reason;
        private Float evaluation;
    }
}
